"""TaskSaasAPP URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  re_path(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  re_path(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import re_path, include
    2. Add a URL to urlpatterns:  re_path(r'^blog/', include('blog.urls'))
"""
from django.urls import re_path, include
from django.contrib import admin

# app_name = 'TaskSaas'

urlpatterns = [
    re_path(r'^admin/', admin.site.urls),
    # path('chat/', include('chat.urls')),
    re_path(r'^TaskSaas/', include(('TaskSaas.urls', 'TaskSaas'), namespace='TaskSaas')),
    re_path(r'^TaskChat/', include(('TaskChat.urls', 'TaskChat'), namespace='TaskChat')),
    re_path(r'^', include('web.urls')),
]
